package com.gmadmin.gmmbg.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.gmadmin.gmmbg.dto.PermsDto;
import com.gmadmin.gmmbg.entity.SysRole;

import java.util.List;

/**
 * <p>
 *  Mapper 接口
 * </p>
 *
 * @author micheal yang
 * @since 2025-09-25
 */
public interface SysRoleMapper extends BaseMapper<SysRole> {

    List<SysRole> findByUserId(Integer userId);

    List<PermsDto> findPermsDto();

}
